<template>
  <div>
    <h1>user父路由</h1>
    <!-- 子路由出口 -->
    <nuxt-link to="/user/2">id-router</nuxt-link>
    <nuxt-link to="/user/name">name-router</nuxt-link>
    <nuxt-child />
  </div>
</template>

<script>
export default {
  name: 'userP'
}
</script>